home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / DOCS / ST_GUIDE.PR / STE.TXT < prev    next >
Encoding:
Text File  |  2010-01-01  |  6.3 KB  |  115 lines

  1. DESKTOP x1k1A                                ╔═════════════════╗
  2.                                 ║       STE       ║
  3.                                 ║ bit assignments ║
  4.                                 ╚═════════════════╝
  5.                    ┌────────────┐
  6.                    │ Video Base │[b23-b0]=video base
  7.                    └────────────┘
  8.               ┌─────────────────┐
  9.               │ Horizontal Jump │  b3-b0=horizontal jump in bits
  10.               └─────────────────┘
  11.                 ┌───────────────┐
  12.                 │ Vertical Jump │  b7-b0=vertical jump in words
  13.                 └───────────────┘
  14.                ┌────────────────┐
  15.                │ Color Register │ b11-b8=[b0/b3-b1]=red   level
  16.                │                │  b7-b4=[b0/b3-b1]=green level
  17.                │                │  b3-b0=[b0/b3-b1]=blue  level
  18.                └────────────────┘
  19.                         ┌───────┐
  20.                         │ Fires │     b3=fire 3 (0:yes  1:no)
  21.                         │       │     b2=fire 2 (0:yes  1:no)
  22.                         │       │     b1=fire 1 (0:yes  1:no)
  23.                         │       │     b0=fire 0 (0:yes  1:no)
  24.                         └───────┘
  25.                        ┌────────┐
  26.                        │ Sticks │b15-b12=stick 3 (up down left right 0:yes 1:no)
  27.                        │        │ b11-b8=stick 1 (up down left right 0:yes 1:no)
  28.                        │        │  b7-b4=stick 2 (up down left right 0:yes 1:no)
  29.                        │        │  b3-b0=stick 0 (up down left right 0:yes 1:no)
  30.                        └────────┘
  31.       ┌────────────┬────────────┐
  32.       │ X Paddle 0 │ Y Paddle 0 │  b7-b0=x|y paddle 0
  33.       └────────────┴────────────┘
  34.       ┌────────────┬────────────┐
  35.       │ X Paddle 1 │ Y Paddle 1 │  b7-b0=x|y paddle 1
  36.       └────────────┴────────────┘
  37.                         ┌───────┐
  38.                         │ X Pen │  b9-b0=x pen (1 unit=4~=500 ns)
  39.                         └───────┘
  40.                         ┌───────┐
  41.                         │ Y Pen │  b9-b0=y pen
  42.                         └───────┘
  43.              ┌──────────────────┐
  44.              │ Control Register │  b1-b0=mode
  45.              │                  │        00:stop
  46.              │                  │        01:play
  47.              │                  │        11:continual play
  48.              └──────────────────┘
  49.                     ┌───────────┐
  50.                     │ FREQuency │     b7=stereo
  51.                     │           │        0:yes
  52.                     │           │        1:no
  53.                     │           │  b1-b0=frequency
  54.                     │           │        00: 6258 Hz
  55.                     │           │        01:12517 Hz
  56.                     │           │        10:25033 Hz
  57.                     │           │        11:50066 Hz
  58.                     └───────────┘
  59.                    ┌────────────┐
  60.                    │ Sound Base │[b23-b0]=sound base
  61.                    │            │  (signed 8 bit Pulse Coded Modulation samples)
  62.                    └────────────┘
  63.                 ┌───────────────┐
  64.                 │ Sound Counter │[b23-b0]=sound counter
  65.                 │               │         if=sound end then
  66.                 │               │                      event report on Timer A
  67.                 │               │                      interrupt XOR GPIPb7
  68.                 └───────────────┘
  69.                     ┌───────────┐
  70.                     │ Sound End │[b23-b0]=sound end
  71.                     └───────────┘
  72.                      ┌──────────┐
  73.                      │ LMC MASK │ b15-b0=microwire interface mask for LMC1992
  74.                      │          │        (shifted to left during transmission)
  75.                      │          │        0:masked
  76.                      │          │        1:transmitted
  77.                      └──────────┘
  78.                      ┌──────────┐
  79.                      │ LMC DATA │ b15-b0=microwire interface data
  80.                      │          │[b1-b0]=10 for National Semiconductor LMC1992
  81.                      │          │[b2-b0]=address        [b5-b0]=data
  82.                      │          │        000:input              000001:DAC+GI
  83.                      │          │                               000010:DAC
  84.                      │          │
  85.                      │          │        001:bass               000000:-12 dB
  86.                      │          │                               ......
  87.                      │          │                               000110:  0 dB
  88.                      │          │                               ......
  89.                      │          │                               001100:+12 dB
  90.                      │          │
  91.                      │          │        010:treble             000000:-12 dB
  92.                      │          │                               ......
  93.                      │          │                               000110:  0 dB
  94.                      │          │                               ......
  95.                      │          │                               001100:+12 dB
  96.                      │          │
  97.                      │          │        011:volume             000000:-80 dB
  98.                      │          │                               ......
  99.                      │          │                               010100:-40 dB
  100.                      │          │                               ......
  101.                      │          │                               101000:  0 dB
  102.                      │          │
  103.                      │          │        100:right fader        000000:-40 dB
  104.                      │          │                               ......
  105.                      │          │                               001010:-20 dB
  106.                      │          │                               ......
  107.                      │          │                               010100:  0 dB
  108.                      │          │
  109.                      │          │        101:left  fader        000000:-40 dB
  110.                      │          │                               ......
  111.                      │          │                               001010:-20 dB
  112.                      │          │                               ......
  113.                      │          │                               010100:  0 dB
  114.                      └──────────┘
  115.